package com.fc.advbox.service;

import com.alibaba.fastjson.JSONObject;
import com.fc.advbox.dto.equipment.QueryEquipmentRequest;
import com.fc.advbox.dto.equipment.SimpleEquipmentDto;
import com.fc.advbox.dto.report.EquipmentRegion;
import com.fc.advbox.entity.EquipmentEntity;

import java.util.List;
import java.util.Map;

/**
 * Created by E7450 on 2018/6/21.
 */
public interface IEquipmentService {

    List<EquipmentEntity> queryList(Map<String, Object> params);

    EquipmentEntity queryObject(Long id);

    void save(EquipmentEntity equipment);

    void update(EquipmentEntity equipment);

    void delete(Long equipmentId);

    void deleteBatch(Long[] equipmentIds);

    List<SimpleEquipmentDto> querySimpleList(Map<String, Object> params);

    List<String> queryCity();

    List<EquipmentEntity> queryEquipmentsByContractId(JSONObject params);

    List<EquipmentRegion> queryEquipmentRegionReport(JSONObject params);
}
